package com.example.lock;

public class OrderNoProvider {

    private  int i =0;


    public  int getNo() throws InterruptedException {
        Thread.sleep(100);
        this.i=i+1;
        return i;
    }

}
